﻿namespace IOA.MES.DataAccess.VModel
{
    /// <summary>
    /// 不良大类
    /// </summary>
    public class VBadType : BaseVModel
    {
        private string _typeCode = string.Empty;
        private string _typeName = string.Empty;

        #region Public Property

        ///<Summary>
        /// 类型代码
        ///</Summary>
        public string TypeCode
        {
            get { return string.IsNullOrWhiteSpace(_typeCode) ? string.Empty : _typeCode; }
            set { _typeCode = value; }
        }

        ///<Summary>
        /// 类型名称
        ///</Summary>
        public string TypeName
        {
            get { return string.IsNullOrWhiteSpace(_typeName) ? string.Empty : _typeName; }
            set { _typeName = value; }
        }

        ///<Summary>
        /// 排序序号
        ///</Summary>
        public int SortNo { get; set; }
        #endregion
    }
}
